package com.bijinihaitan.xdx;

public class MantisShrimp {


    private String id;
    private String name;
    private String apperance;
    private String power;
    private String food;

    public String getId() {

        return id; }

    public void setId(String id) {

        this.id = id; }

    public String getName() {

        return name; }

    public void setName(String name) {

        this.name = name; }

    public String getColor() {

        return apperance; }

    public void setColor(String apperance) {

        this.apperance = apperance; }

    public String getFriend() {

        return power; }

    public void setFriend(String power) {

        this. power= power; }

    public String getFood() {

        return food; }

    public void setFood(String food) {

        this. food= food; }

    public String getApperance() {

        return apperance; }

    public void setApperance(String apperance) {

        this. apperance= apperance; }


    public String getPower() {

        return power; }

    public void setPower(String power) {

        this.power = power; }


    @Override
    public String toString() {
        return "动物类名：MantisShrimp\n" +
                "动物id：" + id + '\'' +
                "动物名称:" + name + '\'' +
                "食物：" + food + '\'' +
                "外貌:" + apperance + '\'' +
                "能力：" + power+ '\'' +
                '}';
    }
    public void setFood(){ System.out.println("吃螃蟹");}

    public void setApperance(){ System.out.println("绿衣服，一对铁拳"); }

    public void setPower(){ System.out.println("一拳超人"); }
}

